WooCommerce\Square\Framework\Square_Helper S

Total Complexity 44
Dependencies 2
Dependents 20
Total lines 393
Lines of code 137
Logical lines of code 78
Comment lines 167
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
list_array_items()
S
57 6 15
trigger_error()
S
58 4 17
str_truncate()
S
58 4 16
str_starts_with()
S
60 4 14
str_exists()
S
60 4 14
array_insert_after()
S
62 4 12
is_order_virtual()
S
63 4 11
get_post()
S
71 2 6
get_request()
S
71 2 6
wc_add_notice()
S
73 2 5
get_site_name()
S
78 2 3
maybe_doing_it_early()
S
72 2 5
str_to_ascii()
S
74 1 4
multibyte_loaded()
S
80 1 3
number_format()
S
78 1 3
get_wc_log_file_url()
S
77 1 3